home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 114 / macaddict114.cdr / Software / Utilities / MenuCalendarClock-iCal-2.1.1.dmg / MenuCalendarClock iCal.app / Contents / Resources / ActivationPrefs.nib / _ActivationPrefs_EOArchive.java next >
Encoding:
Java Source  |  2005-11-07  |  28.3 KB  |  510 lines

  1. // _ActivationPrefs_EOArchive.java
  2. // Generated by EnterpriseObjects palette at Donnerstag, 3. M\u00e4rz 2005 10:19 Uhr Europe/Berlin
  3.  
  4. import com.webobjects.eoapplication.*;
  5. import com.webobjects.eocontrol.*;
  6. import com.webobjects.eointerface.*;
  7. import com.webobjects.eointerface.swing.*;
  8. import com.webobjects.foundation.*;
  9. import java.awt.*;
  10. import javax.swing.*;
  11. import javax.swing.border.*;
  12. import javax.swing.table.*;
  13. import javax.swing.text.*;
  14.  
  15. public class _ActivationPrefs_EOArchive extends com.webobjects.eoapplication.EOArchive {
  16.     IBHelpConnector _iBHelpConnector0;
  17.     com.webobjects.eointerface.swing.EOFrame _eoFrame0, _eoFrame1;
  18.     com.webobjects.eointerface.swing.EOImageView _nsImageView0;
  19.     com.webobjects.eointerface.swing.EOMatrix _nsMatrix0;
  20.     com.webobjects.eointerface.swing.EOTextField _nsTextField0, _nsTextField1, _nsTextField2, _nsTextField3, _nsTextField4, _nsTextField5, _nsTextField6;
  21.     com.webobjects.eointerface.swing.EOView _nsBox0, _nsBox1, _nsBox2, _nsBox3, _nsBox4, _nsBox5;
  22.     com.webobjects.foundation.NSNumberFormatter _nsNumberFormatter0;
  23.     javax.swing.JButton _nsButton0, _nsButton1, _nsButton2, _nsButton3, _nsButton4;
  24.     javax.swing.JCheckBox _nsButton5, _nsButton6, _nsButton7, _nsButton8;
  25.     javax.swing.JPanel _nsView0, _nsView1;
  26.     javax.swing.JRadioButton _jRadioButton0, _jRadioButton1, _jRadioButton2;
  27.  
  28.     public _ActivationPrefs_EOArchive(Object owner, NSDisposableRegistry registry) {
  29.         super(owner, registry);
  30.     }
  31.  
  32.     protected void _construct() {
  33.         Object owner = _owner();
  34.         EOArchive._ObjectInstantiationDelegate delegate = (owner instanceof EOArchive._ObjectInstantiationDelegate) ? (EOArchive._ObjectInstantiationDelegate)owner : null;
  35.         Object replacement;
  36.  
  37.         super._construct();
  38.  
  39.         _nsNumberFormatter0 = (com.webobjects.foundation.NSNumberFormatter)_registered(new com.webobjects.foundation.NSNumberFormatter("0;-0"), "");
  40.         _iBHelpConnector0 = (IBHelpConnector)_registered(new IBHelpConnector(), "");
  41.         _nsButton4 = (javax.swing.JButton)_registered(new javax.swing.JButton(""), "NSButton3111");
  42.         _nsTextField6 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField21");
  43.         _nsTextField5 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
  44.         _nsBox5 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  45.         _nsBox4 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox11");
  46.         _nsBox3 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView");
  47.         _nsBox2 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox1");
  48.  
  49.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "checkNowButton")) != null)) {
  50.             _nsButton3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  51.             _replacedObjects.setObjectForKey(replacement, "_nsButton3");
  52.         } else {
  53.             _nsButton3 = (javax.swing.JButton)_registered(new javax.swing.JButton("Check Now"), "NSButton2");
  54.         }
  55.  
  56.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoCurrentDayButton")) != null)) {
  57.             _nsButton8 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  58.             _replacedObjects.setObjectForKey(replacement, "_nsButton8");
  59.         } else {
  60.             _nsButton8 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Select current day on opening calendar"), "NSButton4121");
  61.         }
  62.  
  63.         _nsBox1 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSView1");
  64.  
  65.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButtonSeparator")) != null)) {
  66.             _nsBox0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOView)replacement;
  67.             _replacedObjects.setObjectForKey(replacement, "_nsBox0");
  68.         } else {
  69.             _nsBox0 = (com.webobjects.eointerface.swing.EOView)_registered(new com.webobjects.eointerface.swing.EOView(), "NSBox11111");
  70.         }
  71.  
  72.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "updateCheckButton")) != null)) {
  73.             _nsButton7 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  74.             _replacedObjects.setObjectForKey(replacement, "_nsButton7");
  75.         } else {
  76.             _nsButton7 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Automatic update check"), "NSButton411");
  77.         }
  78.  
  79.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "openiCalInDayViewButton")) != null)) {
  80.             _nsButton6 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  81.             _replacedObjects.setObjectForKey(replacement, "_nsButton6");
  82.         } else {
  83.             _nsButton6 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Double-click opens iCal in Day View"), "NSButton111111");
  84.         }
  85.  
  86.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "secondsField")) != null)) {
  87.             _nsTextField4 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  88.             _replacedObjects.setObjectForKey(replacement, "_nsTextField4");
  89.         } else {
  90.             _nsTextField4 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField");
  91.         }
  92.  
  93.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "restoreDefaultButton")) != null)) {
  94.             _nsButton2 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  95.             _replacedObjects.setObjectForKey(replacement, "_nsButton2");
  96.         } else {
  97.             _nsButton2 = (javax.swing.JButton)_registered(new javax.swing.JButton("Restore Default"), "NSButton1");
  98.         }
  99.  
  100.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "registerNoteLabel")) != null)) {
  101.             _nsTextField3 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  102.             _replacedObjects.setObjectForKey(replacement, "_nsTextField3");
  103.         } else {
  104.             _nsTextField3 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
  105.         }
  106.  
  107.         _nsButton1 = (javax.swing.JButton)_registered(new javax.swing.JButton("Cancel"), "NSButton");
  108.         _nsImageView0 = (com.webobjects.eointerface.swing.EOImageView)_registered(new com.webobjects.eointerface.swing.EOImageView(), "");
  109.         _nsTextField2 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField111111");
  110.         _nsTextField1 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField2");
  111.  
  112.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeySheet")) != null)) {
  113.             _eoFrame1 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  114.             _replacedObjects.setObjectForKey(replacement, "_eoFrame1");
  115.         } else {
  116.             _eoFrame1 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Sheet");
  117.         }
  118.  
  119.         _nsView1 = (JPanel)_eoFrame1.getContentPane();
  120.  
  121.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "currentHotkeyTextField")) != null)) {
  122.             _nsTextField0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOTextField)replacement;
  123.             _replacedObjects.setObjectForKey(replacement, "_nsTextField0");
  124.         } else {
  125.             _nsTextField0 = (com.webobjects.eointerface.swing.EOTextField)_registered(new com.webobjects.eointerface.swing.EOTextField(), "NSTextField1");
  126.         }
  127.  
  128.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "defineHotkeyButton")) != null)) {
  129.             _nsButton0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JButton)replacement;
  130.             _replacedObjects.setObjectForKey(replacement, "_nsButton0");
  131.         } else {
  132.             _nsButton0 = (javax.swing.JButton)_registered(new javax.swing.JButton("Set Hotkey"), "NSButton");
  133.         }
  134.  
  135.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "hotkeyCheckbox")) != null)) {
  136.             _nsButton5 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (javax.swing.JCheckBox)replacement;
  137.             _replacedObjects.setObjectForKey(replacement, "_nsButton5");
  138.         } else {
  139.             _nsButton5 = (javax.swing.JCheckBox)_registered(new javax.swing.JCheckBox("Hotkey Activation"), "NSButton4");
  140.         }
  141.  
  142.         _jRadioButton2 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton(""), "");
  143.         _jRadioButton1 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("When using other applications"), "");
  144.         _jRadioButton0 = (javax.swing.JRadioButton)_registered(new javax.swing.JRadioButton("Never"), "");
  145.  
  146.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "autoHideOptionsCheckboxes")) != null)) {
  147.             _nsMatrix0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOMatrix)replacement;
  148.             _replacedObjects.setObjectForKey(replacement, "_nsMatrix0");
  149.         } else {
  150.             _nsMatrix0 = (com.webobjects.eointerface.swing.EOMatrix)_registered(new com.webobjects.eointerface.swing.EOMatrix(3, 1, 4, 2), "NSMatrix1");
  151.         }
  152.  
  153.         if ((delegate != null) && ((replacement = delegate.objectForOutletPath(this, "_window")) != null)) {
  154.             _eoFrame0 = (replacement == EOArchive._ObjectInstantiationDelegate.NullObject) ? null : (com.webobjects.eointerface.swing.EOFrame)replacement;
  155.             _replacedObjects.setObjectForKey(replacement, "_eoFrame0");
  156.         } else {
  157.             _eoFrame0 = (com.webobjects.eointerface.swing.EOFrame)_registered(new com.webobjects.eointerface.swing.EOFrame(), "Window");
  158.         }
  159.  
  160.         _nsView0 = (JPanel)_eoFrame0.getContentPane();
  161.     }
  162.  
  163.     protected void _awaken() {
  164.         super._awaken();
  165.  
  166.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  167.             _connect(_eoFrame0, _owner(), "delegate");
  168.         }
  169.  
  170.         _nsButton3.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updateCheckNow", _nsButton3), ""));
  171.  
  172.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  173.             _connect(_owner(), _nsButton3, "checkNowButton");
  174.         }
  175.  
  176.         _nsButton8.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton8), ""));
  177.  
  178.         if (_replacedObjects.objectForKey("_nsButton8") == null) {
  179.             _connect(_owner(), _nsButton8, "autoCurrentDayButton");
  180.         }
  181.  
  182.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  183.             _connect(_owner(), _nsMatrix0, "autoHideOptionsCheckboxes");
  184.         }
  185.  
  186.         if (_replacedObjects.objectForKey("_nsBox0") == null) {
  187.             _connect(_owner(), _nsBox0, "openiCalInDayViewButtonSeparator");
  188.         }
  189.  
  190.         _nsButton7.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton7), ""));
  191.  
  192.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  193.             _connect(_owner(), _nsButton7, "updateCheckButton");
  194.         }
  195.  
  196.         _nsButton6.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton6), ""));
  197.  
  198.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  199.             _connect(_owner(), _nsButton6, "openiCalInDayViewButton");
  200.         }
  201.  
  202.         _nsTextField4.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsTextField4), ""));
  203.  
  204.         if (_replacedObjects.objectForKey("_nsTextField4") == null) {
  205.             _connect(_owner(), _nsTextField4, "secondsField");
  206.         }
  207.  
  208.         _nsButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "restoreDefault", _nsButton2), ""));
  209.  
  210.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  211.             _connect(_owner(), _nsButton2, "restoreDefaultButton");
  212.         }
  213.  
  214.         if (_replacedObjects.objectForKey("_nsTextField3") == null) {
  215.             _connect(_owner(), _nsTextField3, "registerNoteLabel");
  216.         }
  217.  
  218.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  219.             _connect(_eoFrame1, _owner(), "delegate");
  220.         }
  221.  
  222.         _nsButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "cancelPressed", _nsButton1), ""));
  223.  
  224.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  225.             _connect(_owner(), _eoFrame1, "hotkeySheet");
  226.         }
  227.  
  228.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  229.             _connect(_owner(), _nsTextField0, "currentHotkeyTextField");
  230.         }
  231.  
  232.         if (_replacedObjects.objectForKey("_nsButton0") == null) {
  233.             _connect(_owner(), _nsButton0, "defineHotkeyButton");
  234.         }
  235.  
  236.         _nsButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "defineHotkey", _nsButton0), ""));
  237.  
  238.         if (_replacedObjects.objectForKey("_nsButton0") == null) {
  239.             _connect(_owner(), _nsButton0, "_lastKeyView");
  240.         }
  241.  
  242.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  243.             _connect(_owner(), _nsButton5, "hotkeyCheckbox");
  244.         }
  245.  
  246.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  247.             _connect(_owner(), _nsButton5, "_initialKeyView");
  248.         }
  249.  
  250.         _nsButton5.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _nsButton5), ""));
  251.  
  252.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  253.             _connect(_owner(), _nsButton5, "_firstKeyView");
  254.         }
  255.  
  256.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  257.             _connect(_owner(), _eoFrame0, "_window");
  258.         }
  259.  
  260.         _jRadioButton0.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton0), ""));
  261.         _jRadioButton1.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton1), ""));
  262.         _jRadioButton2.addActionListener((com.webobjects.eointerface.swing.EOControlActionAdapter)_registered(new com.webobjects.eointerface.swing.EOControlActionAdapter(_owner(), "updatePreferences", _jRadioButton2), ""));
  263.     }
  264.  
  265.     protected void _init() {
  266.         super._init();
  267.         _nsNumberFormatter0.setMinimum(new java.math.BigDecimal("0"));
  268.         _nsNumberFormatter0.setMaximum(new java.math.BigDecimal("999"));
  269.         _setFontForComponent(_nsButton4, "Lucida Grande", 13, Font.PLAIN + Font.BOLD);
  270.         _nsButton4.setMargin(new Insets(0, 2, 0, 2));
  271.         _setFontForComponent(_nsTextField6, "Lucida Grande", 13, Font.PLAIN);
  272.         _nsTextField6.setEditable(false);
  273.         _nsTextField6.setOpaque(false);
  274.         _nsTextField6.setText("seconds after opening");
  275.         _nsTextField6.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  276.         _nsTextField6.setSelectable(false);
  277.         _nsTextField6.setEnabled(true);
  278.         _nsTextField6.setBorder(null);
  279.         _setFontForComponent(_nsTextField5, "Lucida Grande", 13, Font.PLAIN);
  280.         _nsTextField5.setEditable(false);
  281.         _nsTextField5.setOpaque(false);
  282.         _nsTextField5.setText("Hide Calendar automatically:");
  283.         _nsTextField5.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  284.         _nsTextField5.setSelectable(false);
  285.         _nsTextField5.setEnabled(true);
  286.         _nsTextField5.setBorder(null);
  287.         if (!(_nsBox4.getLayout() instanceof EOViewLayout)) { _nsBox4.setLayout(new EOViewLayout()); }
  288.         _nsBox5.setSize(125, 1);
  289.         _nsBox5.setLocation(2, 2);
  290.         ((EOViewLayout)_nsBox4.getLayout()).setAutosizingMask(_nsBox5, EOViewLayout.MinYMargin);
  291.         _nsBox4.add(_nsBox5);
  292.         _nsBox4.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  293.         if (!(_nsBox2.getLayout() instanceof EOViewLayout)) { _nsBox2.setLayout(new EOViewLayout()); }
  294.         _nsBox3.setSize(125, 1);
  295.         _nsBox3.setLocation(2, 2);
  296.         ((EOViewLayout)_nsBox2.getLayout()).setAutosizingMask(_nsBox3, EOViewLayout.MinYMargin);
  297.         _nsBox2.add(_nsBox3);
  298.         _nsBox2.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  299.  
  300.         if (_replacedObjects.objectForKey("_nsButton3") == null) {
  301.             _setFontForComponent(_nsButton3, "Lucida Grande", 13, Font.PLAIN);
  302.             _nsButton3.setMargin(new Insets(0, 2, 0, 2));
  303.         }
  304.  
  305.         if (_replacedObjects.objectForKey("_nsButton8") == null) {
  306.             _setFontForComponent(_nsButton8, "Lucida Grande", 13, Font.PLAIN);
  307.         }
  308.  
  309.         if (_replacedObjects.objectForKey("_nsBox0") == null) {
  310.             if (!(_nsBox0.getLayout() instanceof EOViewLayout)) { _nsBox0.setLayout(new EOViewLayout()); }
  311.             _nsBox1.setSize(125, 1);
  312.             _nsBox1.setLocation(2, 2);
  313.             ((EOViewLayout)_nsBox0.getLayout()).setAutosizingMask(_nsBox1, EOViewLayout.MinYMargin);
  314.             _nsBox0.add(_nsBox1);
  315.             _nsBox0.setBorder(new com.webobjects.eointerface.swing._EODefaultBorder("", true, "Lucida Grande", 13, Font.PLAIN));
  316.         }
  317.  
  318.         if (_replacedObjects.objectForKey("_nsButton7") == null) {
  319.             _setFontForComponent(_nsButton7, "Lucida Grande", 13, Font.PLAIN);
  320.         }
  321.  
  322.         if (_replacedObjects.objectForKey("_nsButton6") == null) {
  323.             _setFontForComponent(_nsButton6, "Lucida Grande", 13, Font.PLAIN);
  324.         }
  325.  
  326.         if (_replacedObjects.objectForKey("_nsTextField4") == null) {
  327.             _setFontForComponent(_nsTextField4, "Lucida Grande", 11, Font.PLAIN);
  328.             _nsTextField4.setEditable(true);
  329.             _nsTextField4.setOpaque(true);
  330.             _nsTextField4.setText("20");
  331.             _nsTextField4.setHorizontalAlignment(javax.swing.JTextField.CENTER);
  332.             _nsTextField4.setSelectable(true);
  333.             _nsTextField4.setEnabled(true);
  334.         }
  335.  
  336.         if (_replacedObjects.objectForKey("_nsButton2") == null) {
  337.             _setFontForComponent(_nsButton2, "Lucida Grande", 11, Font.PLAIN);
  338.             _nsButton2.setMargin(new Insets(0, 2, 0, 2));
  339.         }
  340.  
  341.         if (_replacedObjects.objectForKey("_nsTextField3") == null) {
  342.             _setFontForComponent(_nsTextField3, "Lucida Grande", 10, Font.PLAIN);
  343.             _nsTextField3.setEditable(false);
  344.             _nsTextField3.setOpaque(false);
  345.             _nsTextField3.setText("Please register to enable this feature.");
  346.             _nsTextField3.setHorizontalAlignment(javax.swing.JTextField.RIGHT);
  347.             _nsTextField3.setSelectable(false);
  348.             _nsTextField3.setEnabled(true);
  349.             _nsTextField3.setBorder(null);
  350.         }
  351.  
  352.         _setFontForComponent(_nsButton1, "Lucida Grande", 13, Font.PLAIN);
  353.         _nsButton1.setMargin(new Insets(0, 2, 0, 2));
  354.         _setFontForComponent(_nsTextField2, "Lucida Grande", 10, Font.PLAIN);
  355.         _nsTextField2.setEditable(false);
  356.         _nsTextField2.setOpaque(false);
  357.         _nsTextField2.setText("Note: At least one modifier (Command, Option, Control) or an 'F'-key must be used.");
  358.         _nsTextField2.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  359.         _nsTextField2.setSelectable(false);
  360.         _nsTextField2.setEnabled(true);
  361.         _nsTextField2.setBorder(null);
  362.         _setFontForComponent(_nsTextField1, "Lucida Grande", 13, Font.PLAIN);
  363.         _nsTextField1.setEditable(false);
  364.         _nsTextField1.setOpaque(false);
  365.         _nsTextField1.setText("Set the activation hotkey by pressing the desired key combination.");
  366.         _nsTextField1.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  367.         _nsTextField1.setSelectable(false);
  368.         _nsTextField1.setEnabled(true);
  369.         _nsTextField1.setBorder(null);
  370.         if (!(_nsView1.getLayout() instanceof EOViewLayout)) { _nsView1.setLayout(new EOViewLayout()); }
  371.         _nsTextField1.setSize(193, 72);
  372.         _nsTextField1.setLocation(124, 5);
  373.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField1, EOViewLayout.MinYMargin);
  374.         _nsView1.add(_nsTextField1);
  375.         _nsTextField2.setSize(312, 30);
  376.         _nsTextField2.setLocation(5, 87);
  377.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsTextField2, EOViewLayout.MinYMargin);
  378.         _nsView1.add(_nsTextField2);
  379.         _nsImageView0.setSize(103, 80);
  380.         _nsImageView0.setLocation(7, 3);
  381.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsImageView0, EOViewLayout.MinYMargin);
  382.         _nsView1.add(_nsImageView0);
  383.         _nsButton1.setSize(121, 26);
  384.         _nsButton1.setLocation(196, 125);
  385.         ((EOViewLayout)_nsView1.getLayout()).setAutosizingMask(_nsButton1, EOViewLayout.MinYMargin);
  386.         _nsView1.add(_nsButton1);
  387.  
  388.         if (_replacedObjects.objectForKey("_eoFrame1") == null) {
  389.             _nsView1.setSize(326, 161);
  390.             _eoFrame1.setTitle("Menu Calendar: Set Hotkey");
  391.             _eoFrame1.setLocation(48, 296);
  392.             _eoFrame1.setSize(326, 161);
  393.         }
  394.  
  395.         if (_replacedObjects.objectForKey("_nsTextField0") == null) {
  396.             _setFontForComponent(_nsTextField0, "Lucida Grande", 13, Font.PLAIN);
  397.             _nsTextField0.setEditable(false);
  398.             _nsTextField0.setOpaque(false);
  399.             _nsTextField0.setText("Current hotkey is \"%@\".");
  400.             _nsTextField0.setHorizontalAlignment(javax.swing.JTextField.LEFT);
  401.             _nsTextField0.setSelectable(false);
  402.             _nsTextField0.setEnabled(true);
  403.             _nsTextField0.setBorder(null);
  404.         }
  405.  
  406.         if (_replacedObjects.objectForKey("_nsButton0") == null) {
  407.             _setFontForComponent(_nsButton0, "Lucida Grande", 13, Font.PLAIN);
  408.             _nsButton0.setMargin(new Insets(0, 2, 0, 2));
  409.         }
  410.  
  411.         if (_replacedObjects.objectForKey("_nsButton5") == null) {
  412.             _setFontForComponent(_nsButton5, "Lucida Grande", 13, Font.PLAIN);
  413.         }
  414.  
  415.         _setFontForComponent(_jRadioButton2, "Lucida Grande", 13, Font.PLAIN);
  416.         _setFontForComponent(_jRadioButton1, "Lucida Grande", 13, Font.PLAIN);
  417.         _setFontForComponent(_jRadioButton0, "Lucida Grande", 13, Font.PLAIN);
  418.  
  419.         if (_replacedObjects.objectForKey("_nsMatrix0") == null) {
  420.             _jRadioButton0.setSize(378, 22);
  421.             _jRadioButton0.setLocation(0, 0);
  422.             _nsMatrix0.add(_jRadioButton0);
  423.             _jRadioButton1.setSize(378, 22);
  424.             _jRadioButton1.setLocation(0, 24);
  425.             _nsMatrix0.add(_jRadioButton1);
  426.             _jRadioButton2.setSize(378, 22);
  427.             _jRadioButton2.setLocation(0, 48);
  428.             _nsMatrix0.add(_jRadioButton2);
  429.             _setFontForComponent(_nsMatrix0, "Lucida Grande", 13, Font.PLAIN);
  430.         }
  431.  
  432.         if (!(_nsView0.getLayout() instanceof EOViewLayout)) { _nsView0.setLayout(new EOViewLayout()); }
  433.         _nsMatrix0.setSize(378, 70);
  434.         _nsMatrix0.setLocation(30, 38);
  435.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsMatrix0, EOViewLayout.MinYMargin);
  436.         _nsView0.add(_nsMatrix0);
  437.         _nsButton5.setSize(243, 17);
  438.         _nsButton5.setLocation(11, 132);
  439.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton5, EOViewLayout.MinYMargin);
  440.         _nsView0.add(_nsButton5);
  441.         _nsButton0.setSize(156, 26);
  442.         _nsButton0.setLocation(254, 180);
  443.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton0, EOViewLayout.MinYMargin);
  444.         _nsView0.add(_nsButton0);
  445.         _nsTextField0.setSize(348, 17);
  446.         _nsTextField0.setLocation(42, 155);
  447.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField0, EOViewLayout.MinYMargin);
  448.         _nsView0.add(_nsTextField0);
  449.         _nsTextField3.setSize(368, 13);
  450.         _nsTextField3.setLocation(42, 206);
  451.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField3, EOViewLayout.MinYMargin);
  452.         _nsView0.add(_nsTextField3);
  453.         _nsButton2.setSize(138, 22);
  454.         _nsButton2.setLocation(271, 130);
  455.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton2, EOViewLayout.MinYMargin);
  456.         _nsView0.add(_nsButton2);
  457.         _nsTextField4.setSize(36, 19);
  458.         _nsTextField4.setLocation(51, 87);
  459.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField4, EOViewLayout.MinYMargin);
  460.         _nsView0.add(_nsTextField4);
  461.         _nsButton7.setSize(238, 17);
  462.         _nsButton7.setLocation(11, 238);
  463.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton7, EOViewLayout.MinYMargin);
  464.         _nsView0.add(_nsButton7);
  465.         _nsBox2.setSize(393, 5);
  466.         _nsBox2.setLocation(13, 117);
  467.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox2, EOViewLayout.MinYMargin);
  468.         _nsView0.add(_nsBox2);
  469.         _nsBox4.setSize(393, 5);
  470.         _nsBox4.setLocation(13, 220);
  471.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox4, EOViewLayout.MinYMargin);
  472.         _nsView0.add(_nsBox4);
  473.         _nsTextField5.setSize(399, 17);
  474.         _nsTextField5.setLocation(11, 14);
  475.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField5, EOViewLayout.MinYMargin);
  476.         _nsView0.add(_nsTextField5);
  477.         _nsTextField6.setSize(335, 17);
  478.         _nsTextField6.setLocation(92, 88);
  479.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsTextField6, EOViewLayout.MinYMargin);
  480.         _nsView0.add(_nsTextField6);
  481.         _nsButton3.setSize(156, 26);
  482.         _nsButton3.setLocation(254, 234);
  483.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton3, EOViewLayout.MinYMargin);
  484.         _nsView0.add(_nsButton3);
  485.         _nsButton4.setSize(21, 24);
  486.         _nsButton4.setLocation(385, 299);
  487.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton4, EOViewLayout.MinYMargin);
  488.         _nsView0.add(_nsButton4);
  489.         _nsButton8.setSize(397, 17);
  490.         _nsButton8.setLocation(11, 283);
  491.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton8, EOViewLayout.MinYMargin);
  492.         _nsView0.add(_nsButton8);
  493.         _nsBox0.setSize(393, 5);
  494.         _nsBox0.setLocation(13, 267);
  495.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsBox0, EOViewLayout.MinYMargin);
  496.         _nsView0.add(_nsBox0);
  497.         _nsButton6.setSize(368, 17);
  498.         _nsButton6.setLocation(11, 305);
  499.         ((EOViewLayout)_nsView0.getLayout()).setAutosizingMask(_nsButton6, EOViewLayout.MinYMargin);
  500.         _nsView0.add(_nsButton6);
  501.  
  502.         if (_replacedObjects.objectForKey("_eoFrame0") == null) {
  503.             _nsView0.setSize(421, 333);
  504.             _eoFrame0.setTitle("Activation");
  505.             _eoFrame0.setLocation(58, 400);
  506.             _eoFrame0.setSize(421, 333);
  507.         }
  508.     }
  509. }
  510.